/**
 * 
 */
package edu.njit.hz278.bean;

/**
 * ConsultationHistoryOfPatient does not corresponds to any actual table. It is a flat representation of {@link NestedConsultationHistoryOfPatient}
 * @author Rivers Zhang
 * @see NestedConsultationHistoryOfPatient
 */
public class ConsultationHistoryOfPatient {
	
	/**
	 * Information about the physician
	 */
	protected String name;
	protected int empid;
	
	/**
	 * Information about the consultation
	 */
	protected long date;
	protected String notes;
	
	/**
	 * Information about diagnosis and illness
	 */
	protected String comment;
	protected int illnessCode;
	protected String description;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getEmpid() {
		return empid;
	}
	public void setEmpid(int empid) {
		this.empid = empid;
	}
	public long getDate() {
		return date;
	}
	public void setDate(long date) {
		this.date = date;
	}
	public String getNotes() {
		return notes;
	}
	public void setNotes(String notes) {
		this.notes = notes;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public int getIllnessCode() {
		return illnessCode;
	}
	public void setIllnessCode(int illnessCode) {
		this.illnessCode = illnessCode;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	public String getPhysNameAndDate() {
		return String.format("%s@%d", name, date);
	}
	
}
